<!-- 查询表单 公共按钮组 -->
<template>
	<el-form-item v-if="online" size="mini" class="searchBottonGroup">
		<searchButton @click="$emit('search')" :title="searchTitle"></searchButton>
		<resetButton @click="$emit('reset')" :title="resetTitle"></resetButton>
	</el-form-item>
	<el-row v-else>
		<el-col :span="24"  class="searchBottonGroup">
			<el-form-item label-width="0">
				<searchButton @click="$emit('search')" :title="searchTitle"></searchButton>
			</el-form-item>
		</el-col>
		<el-col :span="24" class="searchBottonGroup">
			<el-form-item label-width="0">
				<resetButton @click="$emit('reset')" :title="resetTitle"></resetButton>
			</el-form-item>
		</el-col>
	</el-row>
</template>

<script>
	import searchButton from './SearchButton'
	import resetButton from './ResetButton'
	export default {
		data() {
			return {};
		},
		components: {
			searchButton,
			resetButton,
		},
		props: {
			searchTitle: {
				type: String,
				default: '查询'
			},
			resetTitle: {
				type: String,
				default: '重置'
			},
			online: {
				type: Boolean,
				default: false
			}
		},
		created() {},
		methods: {},
	}
</script>

<style>
	
	.searchBottonGroup{
		text-align: right;
	}
	
</style>
